package com.pan.kang.frame.dao;


import com.pan.kang.frame.domain.IProcedureExecutor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public class StoreProcedureQueryDao implements IStoreProcedureQueryDao {

    @Autowired
    private IProcedureExecutor procedureExecutor;

    @Override
    public Map<String, ?> executeProcedure(String procedureName, Map<String, Object> mapIn, Map<String, Object> mapOut) {
        return procedureExecutor.executeProcedure(procedureName, mapIn, mapOut);
    }
}
